import request from '@/utils/request'

// 获取团队统计信息
export function teamStatistics() {
  return request({
    url: '/user/teamStatistics',
    method: 'get'
  })
}

// 获取团队支付订单
export function teamPayOrders(query) {
	return request({
		url: '/system/pay/teamPayOrders',
		method: 'get',
		params: query
	})
}

// 获取查询参数
export function distinct() {
	return request({
		url: '/system/product/distinct',
		method: 'get'
	})
}

// 获取在团队中的收入
export function teamIncome() {
	return request({
		url: '/system/income/team',
		method: 'get'
	})
}

// 获取团队成员
export function teamMember() {
	return request({
		url: '/user/teamMember',
		method: 'get'
	})
}